﻿<UserControl
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:Custom="http://schemas.awesomium.com/winfx" x:Class="OSBIDE.Controls.Views.BrowserView" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300"
    Background="Gray"
    >
    <Grid>
        <TextBlock Visibility="Collapsed" x:Name="LoadingText" Text="Loading..." FontSize="24" Foreground="White" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center" />
        <Custom:WebControl Opacity="100" x:Name="BrowserWindow"  VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Loaded="BrowserWindow_Loaded" LoadingFrame="BrowserWindow_LoadingFrame" LoadingFrameComplete="BrowserWindow_LoadingFrameComplete" />
    </Grid>
</UserControl>
